package org.openharmony.qttool.qml.language.psi;

import com.intellij.extapi.psi.PsiFileBase;
import com.intellij.openapi.fileTypes.FileType;
import com.intellij.psi.FileViewProvider;
import com.intellij.psi.PsiFile;
import org.openharmony.qttool.qml.language.QmlFileType;
import org.openharmony.qttool.qml.language.QmlLanguage;
import org.jetbrains.annotations.NotNull;

public class QmlFile extends PsiFileBase {
    public QmlFile(@NotNull FileViewProvider viewProvider) {
        super(viewProvider, QmlLanguage.getInstance());
    }

    @Override
    public @NotNull FileType getFileType() {
        return QmlFileType.getInstance();
    }

    @Override
    public String toString() {
        return "QML File";
    }
}
